package edu.gznu.ics.fast.pulsar.service.userService;

import edu.gznu.ics.fast.pulsar.model.po.user.TdUserPO;
import edu.gznu.ics.fast.pulsar.model.vo.user.TdUserVO;
import org.apache.shiro.crypto.RandomNumberGenerator;

/**
 * Created by fei-zyx on 2016/11/25.
 */
public   interface PasswordInterface {
      void setRandomNumberGenerator(RandomNumberGenerator randomNumberGenerator) ;
      void setAlgorithmName(String algorithmName);
      void setHashIterations(int hashIterations);
      void encryptPassword(TdUserPO user);
    void encryptPassword(TdUserVO user);
    }
